import os

import data_get.data_get
import data_save

#保存视频
def save_video(content):
    with open('video.mp4','wb') as f:
        f.write(content)
        f.close()


def main():
    url="https://vdept3.bdstatic.com/mda-qjd83jvz32gz7j7r/cae_h264/1728892219669682311/mda-qjd83jvz32gz7j7r.mp4?v_from_s=hkapp-haokan-hbf&auth_key=1729511026-0-0-b9f6550f89eab3bb90719de5c40932fc&bcevod_channel=searchbox_feed&cr=0&cd=0&pd=1&pt=3&logid=2626510214&vid=14029366291294056886&klogid=2626510214&abtest="
    content = data_get.data_get.get_content_no_header()
    #保存视频
    data_save.save_content("video_tlb.mp4",content)

if __name__== '__main__':
    main()